<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

    <link type="text/css" rel="stylesheet" media="all" href="<?=base_url();?>styles/admin/base.css" />
    <link type="text/css" rel="stylesheet" media="all" href="<?=base_url();?>styles/admin/jquery-ui.css" />
    <link type="text/css" rel="stylesheet" media="all" href="<?=base_url();?>styles/admin/grid.css" />
    <link type="text/css" rel="stylesheet" media="all" href="<?=base_url();?>styles/admin/visualize.css" />

    <title>Login</title>
</head>

<body>

    <div id="login-wrapper">
        <div class="box-header login">
            <span class="fr"><a href="<?=base_url()?>">Back to the site</a></span>
            Login
        </div>
        <div class="box">
            <? if ($message!='') { ?>
            <div class="notification tip">
                <span class="strong">TIP:</span>
                <?php echo $message;?>
            </div>
            <? } ?>
            <?php echo form_open("auth/login",  array('class' => 'login'));?>
<!--            <form method="post" action="index.html" class="login">-->
                <div class="row">
                    <label>Username:</label>
                    <?php echo form_input($email);?>
<!--                    <input type="text" value="admin" /> -->
                </div>

                <div class="row">
                    <label>Password:</label>
                    <?php echo form_password($password);?>
<!--                    <input type="password" value="password" /> -->
                </div>
                <div class="row tr">
                    <?php echo form_checkbox(array('name'    => 'rememberme',
                                                   'id'      => 'rememberme',
                                                   'checked' => TRUE,
                                                   'class'   => 'checkbox' ));?>
<!--                    <input type="checkbox" id="rememberme" checked="checked" class="checkbox" /> -->
                    <label class="checkbox tl strong" for="rememberme" style="width:105px">Remember me</label>
                    <?php echo form_submit(array('name'  => 'Login',
                                                 'value' => 'Login',
                                                 'class' => 'button',
                                                 'style' => 'width:90px!important;' ));?>
<!--                    <input type="submit" value="Login" class="button" style="width:90px!important;" /> -->
                </div>
                <?php echo form_close();?>
<!--            </form> -->

        </div>
    </div>


</body>
</html>
